package demo.topic15;

public enum Color3 {
    RED{
        @Override
        public String getColor() {
            return "红色";
        }
    },
    YELLOW{
        @Override
        public String getColor() {
            return "黄色";
        }
    },
    GREEN{
        @Override
        public String getColor() {
            return "绿色";
        }
    },;

    public abstract String getColor();
}
